﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestEntity
{
    public class Mapper
    {
        public List<Student> GetMapper(List<Student> list)
        {
            List<Student> result = new List<Student>();
            foreach (var item in list)
            {
                Student s = new Student();
                s.Id = item.Id;
                s.Name = item.Name;
                result.Add(item);
            }
            return result;
        }
    }
}
